/**************************************************************************************** Import */
import _ from 'lodash';
import React, {Component} from 'react';
import { TextInput, View, Dimensions, TouchableHighlight, Linking, StyleSheet, ImageBackground } from 'react-native';
import { Icon,  List, Button, InputItem, Tabs, TextareaItem, DatePicker, Accordion } from 'antd-mobile-rn';
import { CAround, CBetween, CCenter, CColumn, CFloat, CHand, CItemX, CItemY, CLine, CLoad, CRow, CWrap, CBone, CIcon, CImage, CSvg, CText, CFull, CScroll, CFooter, CHeader, CPage, CButton, CLabel, PTabbar, PHeader } from '../../library/comp';
import { Dialog, Http, PageBase } from '../../library/func';
import Design from '../../design';
import Config from '../../config';

/**************************************************************************************** Pageload */

/**************************************************************************************** Cacheload */

/**************************************************************************************** Preload */

/**************************************************************************************** Get */

/**************************************************************************************** Post */

/**************************************************************************************** Page */
export default class Help extends PageBase {
	constructor(props) {
        super(props);
		this.state = {
			
		};
    }

    // 打电话
    call=()=>{
        return Linking.openURL('tel:10086')
    }

    /************************************************************************************ Render */
	render() {
		return (
			<CPage>

				<CScroll mt='96' bg='#efeff4'>

                    {/* 常见问题入口 */}
                    <CRow bg='#fff' mt='20' bb='1 #f7f7f7'>
                        <CHand f='1' pa='30' onPress={(e)=> {
                            // this.nav.navigate('Help_Help');
                            Dialog.text('此功能暂未启用',1)
                        }}>
                            <CBetween>
                                <CHand>
                                    <CText size="32">常见问题</CText>
                                </CHand>
                                <CHand>
                                    {/* <Icon type='right' color='#adadad' size='18'></Icon> */}
                                </CHand>
                            </CBetween>
                        </CHand>
                    </CRow>

                    {/* 在线留言入口 */}
                    <CRow bg='#fff' bb='2 #f7f7f7'>
                        <CHand f='1' pa='30' onPress={(e)=> {
                            // this.nav.navigate('');
                            Dialog.text('此功能暂未启用', 1)
                        }}>
                            <CBetween>
                                <CHand>
                                    <CText size="32">在线留言</CText>
                                </CHand>
                                <CHand>
                                    {/* <Icon type='right' color='#adadad' size='18'></Icon> */}
                                </CHand>
                            </CBetween>
                        </CHand>
                   </CRow>

                    {/* 客服电话 */}
                   <CRow bg='#fff'>
                        <CHand f='1' pa='30' onPress={(e)=> {
                             this.call() 
                        }}>
                            <CBetween>
                                <CHand>
                                    <CText size="32">客服电话</CText>
                                </CHand>
                                <CHand>
                                    <CItemX y='center'>
                                        <CText color='#b5b5b5' size='26'>工作日 9:00~18:00</CText>
                                        {/* <Icon type='right' color='#adadad' size='18'></Icon> */}
                                    </CItemX>
                                    
                                </CHand>
                            </CBetween>
                        </CHand>
                   </CRow>

                    {/* 意见反馈入口 */}
                   <CRow bg='#fff' mt='20' >
                        <CHand f='1' pa='30' onPress={(e)=> {
                            this.nav.navigate('Help_Feedback');
                        }}>
                            <CBetween>
                                <CHand>
                                    <CText size="32">意见反馈</CText>
                                </CHand>
                                <CHand>
                                    {/* <Icon type='right' color='#adadad' size='18'></Icon> */}
                                </CHand>
                            </CBetween>
                        </CHand>
                   </CRow>

				</CScroll>
				
                {/* header */}
				<PHeader nav={this.nav}>帮助反馈</PHeader>

			</CPage>
		);
	}
}
